<div class="table-league-title" >
    <div class="float-left league-id">淘汰赛id</div>
    <div class="float-left league-name">淘汰赛名称</div>
    <div class="float-left league-team-nb">球队数量</div>
    <div class="float-left league-action">操作</div>

</div>

<div class="table-league">
	
<?php foreach($this->cups as $cup){?>
	  <div class="float-left league-id"><?php echo $cup->id?></div>
    <div class="float-left league-name"><?php echo $cup->name?></div>
    <div class="float-left league-team-nb"><?php echo $cup->team_count?></div>

    <div class="float-left league-action">
    	 <?php if ($cup->status =='new'){?>
        	<a href="/admin/cup-ko-team-vs-modify/cup-id/<?php echo $cup->id?>/">对阵</a>        	      
         <?php }?>
        </div>
<?php }?>
</div>